package cn.tx.erp.sys.vo;

import cn.tx.erp.sys.domain.Notice;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Mxb
 * @version 1.0
 * @date 2020/2/6 16:59
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NoticeVo extends Notice {
    private Integer page=1;
    private Integer limit=10;

    private Integer[] ids;  //接收多个id

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date starttime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endtime;
}
